#include<stdio.h>
#include<string.h>
#include<unistd.h>

#define ROW 20
#define COL 20

#define PLAYER1 1
#define PLAYER2 2

#define PLAYER1_WIN 1
#define PLAYER2_WIN 2
#define NEXT 3
#define DRAW 4

enum dir{
  LEFT,
  RIGHT,
  UP,
  DOWN,
  LEFT_UP,
  RIGHT_DOWN,
  LEFT_DOWN,
  RIGHT_UP
};


void process_bar();
void menu();
void game();
